Keyword

Am I trying to push plugin boundaries too far?? :^)

  • Nick Texidor
  • Nick Texidor's Avatar Topic Author
  • Visitor
13 years 7 months ago #93806 by Nick Texidor
Hey guys, 

 

I'm trying to make some enhancements to a K2 Plugin, but not sure if what I want to do is possible.

 

Currently, it's all pretty normal stuff, the plugin presents fields for the user to fill-in.  However, I want to execute a JavaScript function on some of that data BEFORE it's saved to the database.  

 

I've successfully added the JavaScript function to the K2 Item page, however, is there anyway I can over-ride the Submit button to allow me to call the JS function?  Alternately, is there anyway of adding in a new button next to one of the plugin parameters?  

 

Thanks in advance

Nick

Please Log in or Create an account to join the conversation.

  • Nick Texidor
  • Nick Texidor's Avatar Topic Author
  • Visitor
13 years 7 months ago #93807 by Nick Texidor
Replied by Nick Texidor on topic Am I trying to push plugin boundaries too far?? :^)
Doh!!  Always so many ways to achieve the same results :^)

 

I cracked it by creating a custom parameter!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum